package cn.ainit.bj.isbn;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.ainit.bj.isbn.entity.ISBNApply;
@Service
public class ISBNApplyServiceImpl implements ISBNApplyService {
	
	private ISBNApplyDao isbnApplyDao;
	@Resource
	public void setIsbnApplyDao(ISBNApplyDao isbnApplyDao) {
		this.isbnApplyDao = isbnApplyDao;
	}
	
	@Override
	public boolean saveISBNApply(ISBNApply isbnApply) throws Exception {
		return this.isbnApplyDao.saveISBNApply(isbnApply);
	}

	@Override
	public ISBNApply toUpdateISBN(String isbnId) throws Exception {
		return this.isbnApplyDao.toUpdateISBN(isbnId);
	}

	@Override
	public boolean updISBNApply(ISBNApply isbnApply) throws Exception {
		return this.isbnApplyDao.updISBNApply(isbnApply);
	}
	@Override
	public String execISBNApply(String isbnId) throws Exception {
		return this.isbnApplyDao.execISBNApply(isbnId);
	}
	@Override
	public String updISBNVerify(String sql) throws Exception {
		return this.isbnApplyDao.updISBNVerify(sql);
	}
	@Override
	public boolean execSql(String sql) throws Exception {
		return this.isbnApplyDao.execSql(sql);
	}
	@Override
	public int execSqlApply(String sql) throws Exception {
		return this.isbnApplyDao.execSqlApply(sql);
	}
}
